export default {
  BaseUrl: 'https://choujiang.jiamutiancheng.com/api/v1',
  Path: {
    Home: '/home/', // 首页
    Login: '/login/', // 登陆注册
    LaunchLottery: '/lottery/launch/', // 发起抽奖
    JoinLottery: '/lottery/join/', // 加入抽奖
    LotteryDetail: '/lottery/detail', // 抽奖详情
    DrawLottery: '/lottery/draw/', // 手动抽奖
    UserInfo: '/user/', // 用户信息
    Address:'/user/address',
    LotteryAddress:'/lottery/user/address',
    LotteryList:'/user/lottery',
    Upload:'/upload',
    BuyVip:'/user/vip',
    EditLottery:'/lottery/edit',
    PayStatus:'/pay/lottery/status',
    VipStatus:'/pay/vip/status',
    withdraw:'/user/withdraw',
  },
  /**
   * 订单参数配置
   */
  Lottery: {
    Method: {
      Auto: 0, // 自动开奖
      JoinedCount: 1, // 按人数开奖
      Manual: 2, // 手动开奖
      FaceToFace: 3 // 当面开奖
    },
    Type: {
      Object: 0, // 实物奖品
      Packet: 1, // 红包
    },
    ResCode:{
      Success: 0
    },
    AllowImgType:['png','jpg','jpeg']
  }
}
